package goods_set

// 表名也是cache的tag
var TableName = "goods_set"

// 商品
type GoodsSet struct {
	Id          int64
	MerchantId  int64  `xorm:"integer(11) notnull index 'merchant_id'"`
	CatId       int64  `xorm:"integer(11) notnull index 'cat_id'"`
	BrandId     int64  `xorm:"integer(11) notnull index 'brand_id'"`
	Title       string `xorm:"varchar(128) notnull 'title'"`
	Description string `xorm:"TEXT notnull 'description'"`

	SetCount int `xorm:"integer null default(0) 'set_count'"`

	Status int `xorm:"tinyint(4) notnull default(0) 'status'"`
}
